package com.itheima.service;

import com.itheima.domain.Role;

import java.util.List;

public interface RoleService {
    List<Role> findAll(String pageNum, String pageSize, String name);

    Role findById(String id);

    void save(Role role);

    void delete(String ids);

    void updatePermission(String roleId,String[] permissionId);
}
